/*
 * 
 * ....................................................................
 * ...######..#####.....##....####..#####..####..#####..######....##...
 * .....##....##..#....###...##.....##.....##....##..#....##.....###...
 * .....##....####....#.##....##....####...####..####.....##....#.##...
 * .....##....##.#...#####.....##...##.....##....##.#.....##...#####...
 * .....##....##..#.#...##..####....##.....####..##..#....##..#...##...
 * ....................................................................
 */

package ua.trasferta.common.scrapes;

import static ua.trasferta.common.team.TeamMember.ANTON_PODVIAZNIKOV;
import ua.trasferta.common.annotations.createBy;
import ua.trasferta.common.team.TeamMember;

/**
 * <p>
 * If something was broken<br>
 * new {@link Scrape} would be gotten.<br>
 * </p>
 * 
 * @author Anton Podviaznikov
 */
@createBy(authors = ANTON_PODVIAZNIKOV)
public class Scrape extends Exception
{
	/** Why we still need this field in Java?? */
	private static final long serialVersionUID = -5559436912480170139L;
	private TeamMember[] members;

	/**
	 * According to our Coding guidelines<br>
	 * if you have time put here some comments lines.
	 * 
	 * @param members - we an't do bad things but still...
	 */
	public Scrape(TeamMember... members)
	{
		this.members = members;
	}

	/**
	 * This smart method will us let 'members' property to get:).
	 * 
	 * @return the value for the 'members' property.
	 */
	public TeamMember[] getMembers()
	{
		return this.members;
	}
}
